define([
    'angular',
    'framework/dataGrid/DataGridModule'
], function (angular) {
    return angular.module('DataGridBasicTest', ['DataGridModule'])
        .controller('dataGridTestController', function ($scope, Arrays) {
            /*$scope.empCheckedRows = [];
            $scope.employeeGridPage = 1;
            $scope.gridRendered = function (grid) {
                var allCheckedRows = grid.getAllCheckedRows();
                console.log(allCheckedRows)
            };
            $scope.chooses = ['choose3', 'choose2'];

            $scope.removeFirst = function () {
                $scope.chooses.splice(0, 1);

            };

            $scope.beforeGridSorting = function (grid, sort, direction) {
                console.log('onBeforeSort', arguments);
            };

            $scope.gridSorting = function () {
                console.log('onSorting', arguments);
            };
            $scope.beforeRowSelected = function ($event, record) {
                console.log('beforeRowSelected', arguments);
            };
            $scope.rowSelected = function ($event, record) {
                console.log('rowSelected', arguments);
            };
*/
            $scope.onRemoveRecord = function () {
                console.log(arguments)

            };
        });
});